#ifndef __CardSprite__
#define __CardSprite__

#include "cocos2d.h"
USING_NS_CC;
class CardSprite : public cocos2d::Sprite
{
public:
	static CardSprite *createCardSprite(int numbers, int width, int height, float CardSpriteX, float CardSpriteY);
	virtual bool init();
	CREATE_FUNC(CardSprite);

	void setNumber(int num);

	int getNumber();

private:
	int number;
	void enemyInit(int numbers, int width, int height, float CardSpriteX, float CardSpriteY);

	cocos2d::LabelTTF *labTTFCardNumber;
	cocos2d::LayerColor *LayerColorBG;


};

#endif // __HELLOWORLD_SCENE_H__
